/*
 * redmicro all Copyright (c)
 */

/**
 * Created by seeker910 on 2015/5/29.
 */
  //
Rsd.define('Rsd.Faith.pages.BankTongChouZhangHuListPage', {
    extend: 'Rsd.Faith.pages.ListPage',
    requires: [],
    xtype: 'list-tong_chou_zhang_hu',
    border: false,
    tabTitle: '统筹账户列表',
    modelType: 'BookTongChouZhangHuModel',
    newButtons:[{text:'新增统筹账户',handler:'newItem'}],
    titleField:'liushuihao',
    newButton:true,
   /* formFields: [
        {
            "name": "LiuShuiHao",
            "label": {
                "content": "流水号",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "JinE",
            "label": {
                "content": "金额",
                "width": 80
            },
            "xtype": "number",
            "precision": 2
        },
        {
            "name": "ShouRuZhiChu",
            "label": {
                "content": "收入/支出",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "RiQi",
            "label": {
                "content": "日期",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "ZhaiYao",
            "label": {
                "content": "摘要",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "SuoShuZhangHu",
            "label": {
                "content": "所属账户",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "SuoShuZhouQi",
            "label": {
                "content": "所属周期",
                "width": 80
            },
            "xtype": "text"
        },

        {
            "name": "Remark",
            "label": {
                "content": "备注",
                "width": 80
            },
            "xtype": "text"
        }
    ],
    gridColumns: [
        {
            "text": "序号",
            "xtype": "index",
            "width": 40,
            "sortable": true
        },
        {
            "name": "LiuShuiHao",
            "text": "流水号",
            "sortable": true,
            "width": 150,
            "nobr": true
        },
        {
            "name": "RiQi",
            "text": "日期",
            "sortable": true,
            "width": 150,
            "nobr": true
        },
        {
            "name": "ShouRuZhiChu",
            "text": "收入/支出",
            "sortable": true,
            "width": 150,
            "nobr": true
        },
        {
            "name": "JinE",
            "text": "金额",
            "sortable": true,
            "xtype": "number",
            "width": 100,
            "precision": 2
        },

        {
            "name": "ZhaiYao",
            "text": "摘要",
            "sortable": true,
            "width": 150,
            "nobr": true
        },
        {
            "name": "SuoShuZhangHu",
            "text": "所属账户",
            "sortable": true,
            "width": 150,
            "nobr": true
        },
        {
            "name": "SuoShuZhouQi",
            "text": "所属周期",
            "sortable": true,
            "width": 150,
            "nobr": true
        },
        {
            "name": "Remark",
            "text": "备注",
            "sortable": true,
            "width": 150,
            "nobr": true
        }
    ],*/
    /*
     * */
    constructor: function (config) {
        config = config || {};
        Rsd.apply(this, config);
    }
});